SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].CondicionesUpdateCommand
(
	@ID numeric(10, 0),
	@CONDICION varchar(50),
	@Original_ID numeric(10, 0),
	@Original_CONDICION varchar(50)
)
AS
	SET NOCOUNT OFF;
UPDATE [CONDICIONES] SET [ID] = @ID, [CONDICION] = @CONDICION WHERE (([ID] = @Original_ID) AND ([CONDICION] = @Original_CONDICION));
	
SELECT ID, CONDICION FROM CONDICIONES WHERE (ID = @ID)
GO
